package com.fenrirtec.aepp.common.dao;

import java.util.List;

import com.fenrirtec.aepp.common.condition.NewsNoticeCondition;
import com.fenrirtec.aepp.common.model.NewsNotice;

public interface NewsNoticeDao {
	//根据传入的类别显示所对应的信息
	List<NewsNotice> searchByCategory(Integer category);
    List<NewsNotice> searchByCnd(NewsNoticeCondition condition);
    Integer countByCnd(NewsNoticeCondition condition);
    Boolean insert(NewsNotice newsNotice);
    Boolean update(NewsNotice newsNotice);
    Boolean delete(Integer newsNoticeId);
    NewsNotice findDetail(Integer newsNoticeId);
}